m=global.sets_map;
if jso_map_check(m,"sound","music","on")
{
if jso_map_lookup(m,"sound","music","on")==1
{
audio_play_music(dubstep,1);
}
 else 
 {
 audio_stop_music();
 }
} else 
{
audio_play_music(dubstep,1);
}






if jso_map_check(m,"sound","music","vol")
{
vol=jso_map_lookup(m,"sound","music","vol");
audio_music_gain(vol,300);
} else 
{
audio_music_gain(0.7,300);
}

if jso_map_check(m,"sound","sfx","on")
{
global.sfx=jso_map_lookup(m,"sound","sfx","on");
}
 else 
 {
global.sfx=1;
 }



if jso_map_check(m,"sound","sfx","vol")
{
global.sfx_vol=jso_map_lookup(m,"sound","sfx","vol");
} else 
{
global.sfx_vol=0.7;
}
audio_sound_gain(snd_type,global.sfx_vol,0);
audio_sound_gain(gun_shot,global.sfx_vol,0);
audio_sound_gain(sniper_shot,global.sfx_vol,0);
audio_sound_gain(hit,global.sfx_vol,0);
audio_sound_gain(shield_snd,global.sfx_vol,0);
audio_sound_gain(snd_type,global.sfx_vol,0);
audio_sound_gain(snd_type,global.sfx_vol,0);
audio_sound_gain(snd_type,global.sfx_vol,0);




if jso_map_check(m,"game_play","assist","on")
{
global.set_assist=jso_map_lookup(m,"sound","sfx","on");
}
 else 
 {
global.set_assist=0;
 }

